package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.TaskDeviceDO;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TaskDeviceMapper extends K2Mapper<TaskDeviceDO> {

    int insert(TaskDeviceDO record);

    int insertBatch(List<TaskDeviceDO> list);

    int insertSelective(TaskDeviceDO record);

    int deleteByTaskId(Long taskId);
}